import {studentShowListListener,fileBackListener,classHistoryOpenListener} from './fileClassListener.js'
import {backClassHistory} from './historyClassListener.js'
import {PriceDialogCloseListener} from './dialogPriceListener.js'
import {closeOrderDialog} from './orderListener.js'
import {closeChangeOrder} from './changeOrderDialogListener.js'
// file class listener
let MyClassFileListener = () => {
    studentShowListListener();
    fileBackListener();
    classHistoryOpenListener();
};

// history class listener
let MyClassHistoryListener = () => {
    backClassHistory();
};

// change price dialog listener
let dialogPriceListener = () => {
    PriceDialogCloseListener();
};

// order dialog listener
let dialogOrderListener = (curriculumid,el) => {
    closeOrderDialog(curriculumid,el);
};

// change order listener
let changeOrderDialogListener = () => {
    closeChangeOrder()
}

export {
    MyClassFileListener,
    MyClassHistoryListener,
    dialogPriceListener,
    dialogOrderListener,
    changeOrderDialogListener
}